﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Decorate
{
    class Program
    {
        static void Main(string[] args)
        {
            //Console.WriteLine("Hello");

            //Beverage beverage = new Espresso();

            //Console.WriteLine(beverage.getDescription() + 
            //                    " $" + beverage.cost());


            Beverage beverage2 = new Espresso();
            beverage2.setSize(Beverage.Size.venti);
            



            beverage2 = new Mocha(beverage2);

            beverage2 = new Whip(beverage2);

            //double dCheck = beverage2.cost();


            Console.WriteLine(beverage2.getDescription() +
                    " $" + beverage2.cost());

        }
    }
}
